SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48401: The SAS® Anti-Money Laundering Dow Jones Watch-list ETL process causes an Oracle error when processing UTF-8 characters

DetailsAboutRate It

When running the Dow Jones Watch-list ETL process in SAS Anti-Money Laundering with Oracle in the UTF-8 mode, the following error might appear in the log:

ERROR: ERROR: ERROR: ORACLE execute error: ORA-12899: value too large for column
"ALSCORE"."FSC_ENTITY_WATCH_LIST_DIM"."MATCH_CODE_INDIVIDUAL" (actual: 19,
maximum: 15).
NOTE: Statements not processed because of errors noted above.

This error occurs when SAS® attempts to store UTF-8 characters in the FSC_ENTITY_WATCH_LIST_DIM.MATCH_CODE_INDIVIDUAL column. The column length VARCHAR 15, UTF-8 characters might exceed this length.

To avoid this error run the Dow Jones Watch List ETL using a UTF-8 encoded instance of SAS. To do this, perform the following steps:

  1. Go to !SASHOME\SASFoundation\9.2.
  2. Edit the SASV9.CFG file.

    Locate this line:

    -CONFIG "C:\Program Files\SAS\SASFoundation\9.2\nls\en\SASV9.CFG"


    Change the preceding line as follows:

    -CONFIG "C:\Program Files\SAS\SASFoundation\9.2\nls\u8\SASV9.CFG"

  3. Next, if you are using Oracle, from a command prompt go to the following directory and set NLS_LANG as follows:

    C:\Program Files\SAS\SASFoundation\9.2>set NLS_LANG=American_America.UTF8

  4. Type sas to start SAS as follows:

    C:\Program Files\SAS\SASFoundation\9.2>sas

Setting the Oracle NLS_LANG parameter enable UTF-8 characters to be stored in the FSC_ENTITY_WATCH_LIST_DIM.MATCH_CODE_INDIVIDUAL column.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Anti-Money LaunderingMicrosoft® Windows® for x644.24.29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition4.24.29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition4.24.29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Standard Edition4.24.29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 for x644.24.29.2 TS2M39.2 TS2M3
Microsoft Windows Server 20084.24.29.2 TS2M39.2 TS2M3
Microsoft Windows Server 2008 for x644.24.29.2 TS2M39.2 TS2M3
Microsoft Windows XP Professional4.24.29.2 TS2M39.2 TS2M3
Windows 7 Enterprise 32 bit4.24.29.2 TS2M39.2 TS2M3
Windows 7 Enterprise x644.24.29.2 TS2M39.2 TS2M3
Windows 7 Home Premium 32 bit4.24.29.2 TS2M39.2 TS2M3
Windows 7 Home Premium x644.24.29.2 TS2M39.2 TS2M3
Windows 7 Professional 32 bit4.24.29.2 TS2M39.2 TS2M3
Windows 7 Professional x644.24.29.2 TS2M39.2 TS2M3
Windows 7 Ultimate 32 bit4.24.29.2 TS2M39.2 TS2M3
Windows 7 Ultimate x644.24.29.2 TS2M39.2 TS2M3
Windows Vista4.24.29.2 TS2M39.2 TS2M3
Windows Vista for x644.24.29.2 TS2M39.2 TS2M3
64-bit Enabled AIX4.24.29.2 TS2M39.2 TS2M3
64-bit Enabled HP-UX4.24.29.2 TS2M39.2 TS2M3
64-bit Enabled Solaris4.24.29.2 TS2M39.2 TS2M3
HP-UX IPF4.24.29.2 TS2M39.2 TS2M3
Linux4.24.29.2 TS2M39.2 TS2M3
Linux for x644.24.29.2 TS2M39.2 TS2M3
Solaris for x644.24.29.2 TS2M39.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.